package com.boot.app.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("base_user_addition")
public class BaseUserAddition {

    @TableId(value = "user_id")
    private Long userId;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "gender")
    private String gender;

    @TableField(value = "birthday", updateStrategy = FieldStrategy.IGNORED)
    private LocalDate birthday;

    @TableField(value = "address")
    private String address;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "email")
    private String email;

    @TableField(value = "avatar")
    private String avatar;

    @TableField(value = "remark")
    private String remark;

}
